package com.noahsloan.nutils.function;

/**
 * Generic interface for 1 parameter functions. While it certainly can't
 * describe all 1 parameter functions, it can capture a good chunk of them.
 * 
 * @author noah
 * 
 * @param <Parameter1>
 *            the first parameter
 * @param <Return>
 *            the return type
 * @param <Excep>
 *            the exception type thrown
 */
public interface Function1<Parameter1, Return, Excep extends Throwable> {
	Return apply(Parameter1 p1) throws Excep;
}
